package com.sc.nft.service.impl;

import com.sc.nft.dao.MallProductSpecsDao;
import com.sc.nft.entity.MallProductSpecs;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import com.sc.nft.service.MallProductSpecsService;
import org.springframework.stereotype.Service;

/**
 * IP商城商品规格表服务接口实现
 *
 * @author zxy
 * @since 2023-05-10 16:59:01
 * @description IP商城
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class MallProductSpecsServiceImpl implements MallProductSpecsService {
    private final MallProductSpecsDao mallProductSpecsDao;

    @Override
    public MallProductSpecs getById(Long id) {
        return mallProductSpecsDao.getById(id);
    }

    @Override
    public MallProductSpecs getByIdWithoutDeleted(Long specsId) {
        return mallProductSpecsDao.getByIdWithoutDeleted(specsId);
    }
}